package com.wyl.dao

import com.wyl.pojo.Books
import org.apache.ibatis.annotations.Param

interface BookMapper {
    fun addBook(books: Books): Int
    fun deleteBookByID(@Param("bookID") id: Int): Int
    fun updateBook(books: Books): Int
    fun queryBookByID(@Param("bookID") id: Int): Books
    fun queryAll(): List<Books>
}